/**
 * 
 */
package com.orcwar.engine;

import java.util.List;

/**
 * @author Callil
 *
 */
public interface IOWGameListener {

	void onLevelStart(OWMap map);
	
	void onLevelEnd(OWMap map, OWPlayer winner);
	
	Runnable onTurnStart(OWPlayer currentPlayer, int turn);
	
	void onTurnEnd(OWPlayer currentPlayer);
	
	void onUnitMove(OWUnit unit, OWTile startTile, OWTile endTile, List<OWTile> path);
	
	void onUnitAttack(OWUnit unit, OWTile attackedTile, boolean success, List<OWUnit> attackedUnits);
	
	void onUnitDeath(OWUnit unit);
	
	void onUnitTurnEnd(OWUnit unit);
	
}
